package com.example.cvte.util;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author 郝文雪
 * @date 2022/10/31 20:35
 * @Description 统一返回
 */

@Data
@AllArgsConstructor
public class ResultUtil {
    private int state;
    private String msg;
    private Object data;
    public ResultUtil(){}
    public static ResultUtil getResult(int state,String msg,Object data){
        return new ResultUtil(state,msg,data);
    }
}
